import Vue from 'vue'
import App from './App.vue'
import router from './router'
import $axios from '@/api/http'
import store from '@/store/index'


// 搭建全局事件总线Bus
Vue.prototype.$bus = new Vue()


// 引入echarts库
import * as echarts from 'echarts';
Vue.prototype.$echarts = echarts;

Vue.prototype.$axios = $axios


// 引入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
